<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<script type="text/javascript">
function deleteSeller() {
	 if(confirm("판매자 탈퇴하시겠습니까?")){
		location.href="deleteSeller.do";
	} 
}
$(document).ready(function() {
	$("#sellPrice").val().click(function() {
		$.ajax({
			type:"post",
			url:"sellerPrice.do",
			dataType:"json",
			success:function(){
				$("#sellPrice").next().remove();
				$("#sellPrice").next("${sessionScope.sellPrice}원");
			}
		});//ajax
	});//click
	

});//ready
</script>
<h3> 판매자 관리 </h3>
판매자명 : ${sessionScope.svo.sellerName }<br>
주소 : ${sessionScope.svo.sellerAddress }<br>
판매자정보 : ${sessionScope.svo.sellerInfo }<br>
<br>
<h3>보유 판매 예치금</h3>
<span id="sp">${sessionScope.sellPrice}원</span>
<input type="button" id="sellPrice" value="새로고침">
